﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;

namespace libhelp
{
    public partial class helpwindow : Form
    {
        public helpwindow()
        {
            InitializeComponent();
        }

        public void helpwindow_Load(object sender, EventArgs e, string appName, string indexPath)
        {
            this.Text = appName + "Help";
            title.Text = appName + "Help";
            string index = indexPath;
        }

        private void toolStripMenuItem1_Click(object sender, EventArgs e)
        {
            IWin32Window abt = new about_libhelp();
            Show((IWin32Window)abt);
        }

        private void exitToolStripMenuItem_Click(object sender, EventArgs e)
        {
            this.Close();
        }

        private void home_Click(object sender, EventArgs e)
        {
            
        }

        private void goHome(string iPath)
        {
            hlpView.Navigate((string)iPath);
        }

        private void hlpView_DocumentCompleted(object sender, WebBrowserDocumentCompletedEventArgs e)
        {

        }
    }
}
